<template>
<div>
  <foo></foo>
  <div id="home">{{msg}}</div>
</div>

</template>

<script>
import foo from './components/foo'
export default {
   components: {
     foo
  },  
  data(){
    return{
      msg:'home组件'
    }
  }
};
</script>

<style>

</style>